package Correction.Gain;

import Correction.RangingCorrectionPolynomes_t;

public class RangingCorrectionSF5BW1600 {
    private static double[] cer = {
            5.2651e-10,
            -2.2875e-07,
            3.4135e-05,
            -0.00215,
            0.056288,
            0.307,
            0.86706,};
    private static RangingCorrectionPolynomes_t polynomes_t = new RangingCorrectionPolynomes_t(7,cer);
    public static RangingCorrectionPolynomes_t getPolynomes_t()
    {
        return polynomes_t;
    }
    private static double[] array =
            {
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1406.2441,
                    1117.441,
                    183.2598,
                    7.4327,
                    3.7821,
                    2.9238,
                    2.9467,
                    3.2671,
                    3.0611,
                    2.26,
                    2.5461,
                    2.1913,
                    2.1913,
                    2.1456,
                    2.3745,
                    2.3287,
                    2.2371,
                    2.1685,
                    2.2371,
                    2.1456,
                    2.3058,
                    2.054,
                    2.157,
                    2.2142,
                    2.1685,
                    2.2371,
                    2.2371,
                    2.26,
                    2.2142,
                    2.2371,
                    2.3058,
                    2.1913,
                    2.054,
                    2.0769,
                    2.2829,
                    1.9854,
                    2.0998,
                    2.1913,
                    2.3058,
                    2.8093,
                    3.1069,
                    3.9995,
                    3.8851,
                    4.6862,
                    4.6061,
                    4.2513,
                    4.3199,
                    4.8464,
                    4.6175,
                    4.7319,
                    4.8235,
                    4.7548,
                    5.0066,
                    5.4186,
                    6.151,
                    6.2197,
                    6.6088,
                    7.2039,
                    7.4327,
                    7.6158,
                    7.9134,
                    7.8218,
                    7.6387,
                    7.6845,
                    7.284,
                    7.4327,
                    7.5472,
                    7.593,
                    7.4327,
                    8.0965,
                    7.9134,
                    7.4556,
                    7.7532,
                    7.8905,
                    8.2796,
                    8.4169,
                    8.4398,
                    8.6,
                    8.8289,
                    8.9663,
                    9.6529,
                    9.7902,
                    10.1793,
                    9.6758,
                    9.7902,
                    9.6987,
                    9.5842,
                    9.5156,
                    9.4927,
                    9.4469,
                    9.5842,
                    9.5156,
                    9.5385,
                    9.5156,
                    9.0349,
                    9.0349,
                    9.0349,
                    9.3554,
                    9.1951,
                    9.5385,
                    8.7488,
                    8.7488,
                    8.7488,
                    8.7488,
                    8.7488,
                    8.7488,
                    8.7488,
                    8.7488,
                    8.7488,
                    8.7488,
                    8.7488,
                    8.7488,
                    8.7488,
                    8.7488,
                    8.7488,
                    8.7488,
                    8.7488,
                    8.7488,
                    8.7488,

            };
    public static double run(int gain)
    {
        return array[gain];
    }
}
